package dao;

import java.util.List;

import javax.ejb.Remote;

import dto.EmployeeDTO;

@Remote
public interface EmployeeDAORemote {

	EmployeeDTO findEmployeeByUsernameAndPassword(EmployeeDTO employeeDTO);

	EmployeeDTO getEmployeeById(int id);

	EmployeeDTO findEmployeeByTeamLeader(EmployeeDTO employeeDTO);

	EmployeeDTO findTLIdFromEmployee(EmployeeDTO employeeDTO);

	void add(EmployeeDTO eDTO);

	List<EmployeeDTO> findAllAngajati();

	void del(EmployeeDTO employee);

	void edit(EmployeeDTO employee);

	List<EmployeeDTO> getAngajatiByTwo(String f1, String v1, String f2,
			String v2);

	List<EmployeeDTO> getAngajatiByOne(String f1, String v1);
	
	String findAdminEmail();
}
